Repository navigation
Merged
Conversation
…s windows close (#688) Fixed 64 MiB bodies ended before the probes' windows on fast hardware, and the window before an answer began before the relays moved on a loaded one. Bodies now run until a second after the last answer, the probes start a second after all 20 relays moved, and downloads are checked as the title always claimed. Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
Author
Review ledgerRound 1: f21dc76 Runs: 4. Cost USD: 0.6562. Agent seconds: 267.
{"findings":[
{"id":"R1","role":"spec","class":"fix not asked / contradicts rejected alternative","outcome":"nonblocking","path":"src/daemon/relay-promises.timing.test.ts:154","round":"1"},
{"id":"R2","role":"spec","class":"behaviour not asked (downloads checked)","outcome":"incorrect","path":"src/daemon/relay-promises.timing.test.ts:261","round":"1","canonicalId":null},
{"id":"R3","role":"spec","class":"assumption decides contract","outcome":"duplicate","path":"assumptions.md:1","round":"1","canonicalId":"R1"}]}
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #688
The relay timing test sent fixed 64 MiB bodies and probed 500 ms after starting them. On fast hardware the uploads ended before the second after each answer (
u0 finished early, CI); on a loaded machine the second before an answer started before the relays moved (u0@…, the local failure in #688). The test checked the timing, not the relay.Changes, test only (
src/daemon/relay-promises.timing.test.ts):finished early.The renew and small-request bounds (1 s) and the 1 MiB per second per relay floor are unchanged.
Status
expected [ 'u0 finished early', …(199) ] to deeply equal [].Assumptions
Review
Spec review: 0 blocking, 0 fixed, 1 notes. Code review: 0 blocking, 0 fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 1. Tokens: 0.3M.
Round 1, commit f21dc76. The spec lens raised that the rewrite goes beyond triage's "Undetermined" fix and that the download check was unasked; both were rejected on adjudication (triage names no fix to contradict; the old title already claimed all 20 relays). Code probes (stalled downloads, early
sending=false, slow/smalltarget) each make the test fail.Written by an agent.